if(${input$entity} instanceof PlayerEntity)((PlayerEntity)${input$entity}).addExperienceLevel(-((int)${input$xpamount}));